Skip to content

Faster, progressively-loading tutorial and documentation pages#188

Merged
AndrewSazonov merged 50 commits into
developfrom
plotting-docs-performance
Jun 2, 2026
Merged

Faster, progressively-loading tutorial and documentation pages#188
AndrewSazonov merged 50 commits into
developfrom
plotting-docs-performance

Conversation

@AndrewSazonov
Copy link
Copy Markdown
Member

Tutorial and documentation pages packed with interactive charts now load fast and stay responsive — plots appear progressively as you scroll (each with a brief "Loading…" placeholder) and remain fully interactive. The chart libraries are now served from the docs site itself instead of external CDNs, so pages load reliably on slow networks and in archived versions, and each page is much lighter. Nothing changes about how tutorials are written.

@AndrewSazonov AndrewSazonov added the [scope] enhancement Adds/improves features (major.MINOR.patch) label Jun 2, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 2, 2026

Codecov Report

❌ Patch coverage is 80.00000% with 25 lines in your changes missing coverage. Please review.
✅ Project coverage is 85.99%. Comparing base (a4366bb) to head (51bfe05).

Files with missing lines Patch % Lines
src/easydiffraction/display/plotters/plotly.py 69.73% 18 Missing and 5 partials ⚠️
src/easydiffraction/display/plotting.py 33.33% 1 Missing and 1 partial ⚠️
Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #188      +/-   ##
===========================================
- Coverage    86.02%   85.99%   -0.03%     
===========================================
  Files          258      258              
  Lines        21651    21764     +113     
  Branches      2518     2534      +16     
===========================================
+ Hits         18626    18717      +91     
- Misses        2072     2089      +17     
- Partials       953      958       +5     
Flag Coverage Δ
integration 69.13% <47.20%> (-0.14%) ⬇️
unittests 79.83% <80.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
...atablocks/experiment/categories/peak/cwl_mixins.py 94.50% <ø> (ø)
...easydiffraction/display/structure/assets/colors.py 100.00% <100.00%> (ø)
...diffraction/display/structure/renderers/threejs.py 100.00% <100.00%> (ø)
src/easydiffraction/display/theme.py 100.00% <100.00%> (ø)
src/easydiffraction/report/data_context.py 89.10% <ø> (+0.19%) ⬆️
src/easydiffraction/report/html_renderer.py 73.84% <100.00%> (+0.20%) ⬆️
src/easydiffraction/utils/environment.py 75.63% <100.00%> (+3.78%) ⬆️
src/easydiffraction/display/plotting.py 71.13% <33.33%> (-0.06%) ⬇️
src/easydiffraction/display/plotters/plotly.py 82.76% <69.73%> (-1.14%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@AndrewSazonov AndrewSazonov force-pushed the plotting-docs-performance branch from 554fe7f to 51bfe05 Compare June 2, 2026 22:00
@AndrewSazonov AndrewSazonov merged commit 78721de into develop Jun 2, 2026
24 of 26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[scope] enhancement Adds/improves features (major.MINOR.patch)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant